package uicgas.globaldata;

import java.io.Serializable;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.*;

public class GenericPumpList extends MessagePayload implements Serializable
{

	private ConcurrentLinkedQueue<Pump> queue;
	private ArrayList<Pump> pump_list;
	
	public GenericPumpList(ConcurrentLinkedQueue<Pump> newQueue)
	{
		queue=newQueue;
	}
	
	public GenericPumpList(ArrayList<Pump> newPump_list)
	{
		pump_list=newPump_list;
	}
	
	public GenericPumpList(ConcurrentLinkedQueue<Pump> newQueue, ArrayList<Pump> newPump_list)
	{
		queue=newQueue;
		pump_list=newPump_list;
	}

	public ConcurrentLinkedQueue<Pump> getQueue()
	{
		return queue;
	}

	public ArrayList<Pump> getPumpList()
	{
		return pump_list;
	}

}
